.cm-contextmenu{
    opacity: 0;
    transform-origin: 0 0;
    position: absolute;
    left: -10000px;
    top: -10000px;
    
    -webkit-transition: transform 0.2s,opacity 0.3s;
    -moz-transition: transform 0.2s,opacity 0.3s;
    -ms-transition: transform 0.2s,opacity 0.3s;
    -o-transition: transform 0.2s,opacity 0.3s;
    transition: transform 0.2s,opacity 0.3s;

    box-shadow: 0 1px 6px rgba(0,0,0,.2);
    background-color: #fff;
    &.cm-contextmenu-visible{
      opacity: 1;
    }
}